<template>
  <view class="index">
    <image src="@/assets/test.jpeg" />
    <view class="center">趣碳生活</view>
    <!-- <loading :hidden="false" /> -->
  </view>
</template>

<script>
import Taro from "@tarojs/taro";
import "./index.less";
export default {
  components: {},
  data() {
    return {
      msg: "Hello world!",
      show: false,
    };
  },
  async mounted() {
    const res = await Taro.login();
    console.log("wx login res:", res);
    this.goPage("login");
  },
  methods: {
    handleClick() {
      this.show = true;
    },
    handleClose() {
      this.show = false;
    },
  },
};
</script>
